package com.wk.springframework.context.event;

import com.wk.springframework.context.ApplicationContext;
import com.wk.springframework.context.ApplicationEvent;

public class ApplicationContextEvent extends ApplicationEvent {

    private Object source;

    public ApplicationContextEvent(Object source) {
        super(source);
    }
    /**
     * Get the <code>ApplicationContext</code> that the event was raised for.
     */
    public final ApplicationContext getApplicationContext() {
        return (ApplicationContext) getSource();
    }


}
